Statistical Properties of a Class of Randomized Binary Search Algorithms

نویسندگان

  • Ye Xia
  • Shigang Chen
چکیده

In this paper, we analyze the statistical properties of a randomized binary search algorithm and its variants. The basic discrete version of the problem is as follows. Suppose there are total m items, numbered 1, 2, ..., m, out of which the first k items are marked, where k is unknown. The objective is to choose one of the marked items uniformly at random. In each step of the basic algorithm, a number y is chosen uniformly at random from 1 to x, where x is the number chosen in the previous step and is equal to m in the first step. A query is made about y. If y is marked, the algorithm returns. We will also consider batch versions of this algorithm in which multiple numbers are chosen in each step and multiple queries are made in parallel. We give the mean and variance (exact or asymptotic) for the number of search steps in each version of the algorithm, and when possible, we give its distribution. We also analyze the access or hit pattern to the entire search space. The basic algorithm is fairly efficient in terms of the number of search steps, and also has small variance. The two batch versions of the algorithm can be used separately or combined to further reduce the number search steps and its variance. Email: [email protected]. Email:[email protected]

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Profile and Height of Random Binary Search Trees

The purpose of this article is to survey recent results on distributional properties of random binary search trees. In particular we consider the profile and the height.

متن کامل

A Unified Approach for Design of Lp Polynomial Algorithms

By summarizing Khachiyan's algorithm and Karmarkar's algorithm forlinear program (LP) a unified methodology for the design of polynomial-time algorithms for LP is presented in this paper. A key concept is the so-called extended binary search (EBS) algorithm introduced by the author. It is used as a unified model to analyze the complexities of the existing modem LP algorithms and possibly, help ...

متن کامل

Second-Order Statistical Texture Representation of Asphalt Pavement Distress Images Based on Local Binary Pattern in Spatial and Wavelet Domain

Assessment of pavement distresses is one of the important parts of pavement management systems to adopt the most effective road maintenance strategy. In the last decade, extensive studies have been done to develop automated systems for pavement distress processing based on machine vision techniques. One of the most important structural components of computer vision is the feature extraction met...

متن کامل

Connecting Yule Process, Bisection and Binary Search Tree via Martingales

We present new links between some remarkable martingales found in the study of the Binary Search Tree or of the bisection problem, looking at them on the probability space of a continuous time binary branching process.

متن کامل

Hybridization of Cuckoo Search and Firefly Algorithms to Calculate the Interaction Parameters in Phase Equilibrium Modeling Problems

Liquid-liquid equilibrium (LLE) problems such as phase stability analysis, phase equilibrium calculations, chemical equilibrium calculations, binary interaction parameter identification of thermodynamic models and other problems of fluid characterization have been the core subject of many recent studies. This study introduces Cuckoo Search (CS), Firefly Algorithms (FA) and its variants as p...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006